package com.vedio.entity;

import java.util.Date;

public class Data {
    private Integer id;
    private Integer userid;
    private Date logintime;
    private Date logouttime;
    private Integer time;

    public Data() {
    }

    public Data(Integer id, Integer userid, Date logintime, Date logouttime, Integer time) {
        this.id = id;
        this.userid = userid;
        this.logintime = logintime;
        this.logouttime = logouttime;
        this.time = time;
    }

    @Override
    public String toString() {
        return "Data{" +
                "id=" + id +
                ", userid=" + userid +
                ", logintime=" + logintime +
                ", logouttime=" + logouttime +
                ", time=" + time +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Date getLogintime() {
        return logintime;
    }

    public void setLogintime(Date logintime) {
        this.logintime = logintime;
    }

    public Date getLogouttime() {
        return logouttime;
    }

    public void setLoginouttime(Date logouttime) {
        this.logouttime = logouttime;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }
}
